package com.aptech.jboa.pojo;

import java.util.HashSet;
import java.util.Set;


/**
 * Departmentinfo entity. @author MyEclipse Persistence Tools
 */

public class Departmentinfo  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Userinfo userinfo;
     private Branchinfo branchinfo;
     private String name;
     private String describe;
     private Set notices = new HashSet(0);
     private Set userinfos = new HashSet(0);
     private Set positioninfos = new HashSet(0);


    // Constructors

    /** default constructor */
    public Departmentinfo() {
    }

    
    /** full constructor */
    public Departmentinfo(Userinfo userinfo, Branchinfo branchinfo, String name, String describe, Set notices, Set userinfos, Set positioninfos) {
        this.userinfo = userinfo;
        this.branchinfo = branchinfo;
        this.name = name;
        this.describe = describe;
        this.notices = notices;
        this.userinfos = userinfos;
        this.positioninfos = positioninfos;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Userinfo getUserinfo() {
        return this.userinfo;
    }
    
    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Branchinfo getBranchinfo() {
        return this.branchinfo;
    }
    
    public void setBranchinfo(Branchinfo branchinfo) {
        this.branchinfo = branchinfo;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getDescribe() {
        return this.describe;
    }
    
    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Set getNotices() {
        return this.notices;
    }
    
    public void setNotices(Set notices) {
        this.notices = notices;
    }

    public Set getUserinfos() {
        return this.userinfos;
    }
    
    public void setUserinfos(Set userinfos) {
        this.userinfos = userinfos;
    }

    public Set getPositioninfos() {
        return this.positioninfos;
    }
    
    public void setPositioninfos(Set positioninfos) {
        this.positioninfos = positioninfos;
    }
   








}